import { sidebar } from "vuepress-theme-hope";

export default sidebar([
  "/intro",
  {
    text: "快速上手",
    icon: "creative",
    // activeMatch: "^/guide/$",
    prefix: "/guide/",
    children: [
      "docker.md",
      "https.md",
      "init.md",
      "update.md",
      "nginx.md",
      "faq.md",
    ],
  },
  {
    text: "功能",
    icon: "strong",
    // activeMatch: "^/guide/$",
    prefix: "/feature/",
    children: [
      {
        text: "基本功能",
        collapsable: false,
        icon: "launch",
        children: [
          "basic/article.md",
          "basic/draft.md",
          "basic/editor.md",
          "basic/about.md",
          "basic/setting.md",
          "basic/comment.md",
          "basic/pic.md",
          "basic/overview.md",
          "basic/category.md",
          "basic/tag.md",
          "basic/migrate.md",
        ],
      },
      {
        text: "进阶功能",
        collapsable: true,
        icon: "advance",
        children: [
          "advance/https.md",
          "advance/rss.md",
          "advance/customizing.md",
          "advance/customPage.md",
          "advance/collaborator.md",
          "advance/backup.md",
          "advance/log.md",
          "advance/secure.md",
          "advance/dark-mode.md",
          "advance/links.md",
          "advance/donate.md",
          "advance/social.md",
          "advance/search.md",
          "advance/top.md",
          "advance/seo.md",
          "advance/hidden.md",
          "advance/private.md",
          "advance/customNav.md",
          "advance/version.md",
          "advance/visitor.md",
          "advance/restore.md",
        ],
      },
    ],
    collapsable: false,
  },
  {
    text: "参考",
    icon: "list",
    // activeMatch: "^/guide/$",
    prefix: "/ref/",
    children: "structure",
    collapsable: true,
  },
]);
